package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实时数据对象 dispatchRealTimeData
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchRealTimeData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 实时数据编号 */
    private Long realTimeDataId;

    /** 监测项 */
    @Excel(name = "监测项")
    private String monitoringItem;

    /** 站点编号 */
    @Excel(name = "站点编号")
    private Long siteId;

    /** 实时数据值 */
    @Excel(name = "实时数据值")
    private BigDecimal realTimeValue;

    /** 数据采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dataTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    public void setRealTimeDataId(Long realTimeDataId) 
    {
        this.realTimeDataId = realTimeDataId;
    }

    public Long getRealTimeDataId() 
    {
        return realTimeDataId;
    }
    public void setMonitoringItem(String monitoringItem) 
    {
        this.monitoringItem = monitoringItem;
    }

    public String getMonitoringItem() 
    {
        return monitoringItem;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setRealTimeValue(BigDecimal realTimeValue) 
    {
        this.realTimeValue = realTimeValue;
    }

    public BigDecimal getRealTimeValue() 
    {
        return realTimeValue;
    }
    public void setDataTime(Date dataTime) 
    {
        this.dataTime = dataTime;
    }

    public Date getDataTime() 
    {
        return dataTime;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("realTimeDataId", getRealTimeDataId())
            .append("monitoringItem", getMonitoringItem())
            .append("siteId", getSiteId())
            .append("realTimeValue", getRealTimeValue())
            .append("dataTime", getDataTime())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
